<?php
/* Smarty version 3.1.38, created on 2021-09-14 14:00:53
  from 'E:\phpstudy\phpstudy_pro\WWW\huidehuli\extend\smartybuilder\libs\Templates\form\checkbox.html' */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.38',
  'unifunc' => 'content_61403a951adff9_01731654',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '8ddbaa5f850323dc62a023df6bb658e529ed8584' => 
    array (
      0 => 'E:\\phpstudy\\phpstudy_pro\\WWW\\huidehuli\\extend\\smartybuilder\\libs\\Templates\\form\\checkbox.html',
      1 => 1630999214,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_61403a951adff9_01731654 (Smarty_Internal_Template $_smarty_tpl) {
?><div class="layui-form-item" pane="">
    <label class="layui-form-label"><?php echo $_smarty_tpl->tpl_vars['value']->value['desc'];?>
</label>
    <div class="layui-input-block">
        <?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['value']->value['option'], 'v', false, 'k');
$_smarty_tpl->tpl_vars['v']->do_else = true;
if ($_from !== null) foreach ($_from as $_smarty_tpl->tpl_vars['k']->value => $_smarty_tpl->tpl_vars['v']->value) {
$_smarty_tpl->tpl_vars['v']->do_else = false;
?>
        <?php if ($_smarty_tpl->tpl_vars['value']->value['radio_value'] == 1) {?>
            <?php if (in_array($_smarty_tpl->tpl_vars['k']->value,json_decode($_smarty_tpl->tpl_vars['value']->value['value']))) {?>
        <input type="checkbox" name="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
[]" value="<?php echo $_smarty_tpl->tpl_vars['k']->value;?>
" lay-skin="primary" title="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
" checked="">
            <?php } else { ?>
        <input type="checkbox" name="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
[]" value="<?php echo $_smarty_tpl->tpl_vars['k']->value;?>
" lay-skin="primary" title="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
">
            <?php }?>
        <?php } else { ?>
            <?php if ((isset($_smarty_tpl->tpl_vars['value']->value['value'])) && in_array($_smarty_tpl->tpl_vars['v']->value,json_decode($_smarty_tpl->tpl_vars['value']->value['value']))) {?>
        <input type="checkbox" name="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
[]" value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
" lay-skin="primary" title="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
" checked="">
            <?php } else { ?>
        <input type="checkbox" name="<?php echo $_smarty_tpl->tpl_vars['value']->value['name'];?>
[]" value="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
" lay-skin="primary" title="<?php echo $_smarty_tpl->tpl_vars['v']->value;?>
">
            <?php }?>
        <?php }?>
        <?php
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?>
        <br><span style="color: red"><?php echo $_smarty_tpl->tpl_vars['value']->value['tagging'];?>
</span>
    </div>
</div><?php }
}
